blob: 5e3d0300953c3ac8808a5f2ff87fbbe5ea58b654 (
plain) (
blame)
1
2
3
4
5
6
7
|
import { auth, post } from "$lib/utils";
import { json } from "@sveltejs/kit";
export let POST = async ({ cookies: c, request: r }) => {
let j = await r.json();
return json(await post("/invoice", j, auth(c)));
};
|